<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>表单绑定-多文本框textarea</title>
  <script type="text/javascript" src="vue.js"></script>
</head>
   <body>
    <div id="app">  
        <textarea rows="4" v-model="comment" placeholder="请输入您的留言"></textarea>
        <p>您的留言是</p>
        <p style="white-space: pre-line;">{{ comment }}</p>
    </div>
      <script>
        let vm = new Vue({
           el:"#app",
           data:{
            comment:""
           }
        })
     </script>
   </body>
</html>